package com.deram.ctin.serv.third.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("serv-third")
@RequestMapping("/smsApi")
public interface SmsApi {

    @PostMapping("/send")
    void send(@RequestParam("mobile") String mobile, @RequestParam("content") String content);
}
